af_waf_deploy_rules_l2
Configuration for WAF relaxation rules resource.
Read/write properties
http_req_url<String>
HTTP Request URL to be relaxed.
Maximum length = 2000
max_value<Integer>
Maximum length of the filed to be relaxed.
hits<Integer>
Number of hits for the relaxation rule in this appfw profile..
lasthittime<Double>
Last hit for the relaxation rule in this appfw profile..
is_system<Boolean>
Set to true when system generated and false for user configured rule.
ctnsappname<String>
ctnsappname.
Maximum length = 255
profile_name<String>
profile_name.
Maximum length = 32
field_type<String>
Field type to be relaxed.
Maximum length = 512
is_deployed<Integer>
Field refelecting status of rule i.e 0-ready to deploy,1-deployed,2-skipped,4-failed.
mode<Integer>
Deployment mode would be OPEN(0) / CLOSE(1).
resourceid<String>
Resourceid generated for each relaxation rule..
Maximum length = 128
status<Boolean>
Status is true when the rule is enabled and false when the rule is disabled.
learning_mode<Integer>
Learning mode to differentate between a rule to be pruned (2) or deployed (0 or 1).
user_name<String>
Field used to maintain the name of User who take an action that lead to this transaction record.
value_type<String>
Value type to be relaxed.
Maximum length = 512
lastpolltime<Double>
Last Time polling was done to fetch hits.
min_value<Integer>
minimum length of the field to be relaxed.
failure_reason<String>
Field used to help the user figure out point of failure for a rule.
count_value<Integer>
count for the number of times this rule has caused violation.
value_expr<String>
Value expression to be relaxed.
Maximum length = 512
violation_location<Integer>
Violation Location.
violation_id<Integer>
Violation Category.
adm_learn_profile_name<String>
adm_learn_profile_name.
Minimum length = 1
Maximum length = 32
si_device_ip_address<String>
NetScaler IP Address..
Minimum length = 1
Maximum length = 512
field_name<String>
Field name to be relaxed.
Maximum length = 512
rpt_sample_time<Double>
Report Sample time..
Read only properties
id<String>
Id is system generated key..
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/af_waf_deploy_rules_l2
Query-parameters:
filter
https://<MGMT-IP>/nitro/v2/config/af_waf_deploy_rules_l2?filter=property-name1:property-value1,property-name2:property-value2
Use this query-parameter to get the filtered set of af_waf_deploy_rules_l2 resources configured on the system. You can set a filter on any property of the resource.
pagesize=#no&pageno=#no
https://<MGMT-IP>/nitro/v2/config/af_waf_deploy_rules_l2?pagesize=#no&pageno=#no
Use this query-parameter to get the af_waf_deploy_rules_l2 resources in chunks.
count
https://<MGMT-IP>/nitro/v2/config/af_waf_deploy_rules_l2?count=yes
Use this query-parameter to get the count of af_waf_deploy_rules_l2 resources.
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "af_waf_deploy_rules_l2":[{
"http_req_url":<String_value>,
"max_value":<Integer_value>,
"hits":<Integer_value>,
"lasthittime":<Double_value>,
"is_system":<Boolean_value>,
"ctnsappname":<String_value>,
"profile_name":<String_value>,
"field_type":<String_value>,
"is_deployed":<Integer_value>,
"mode":<Integer_value>,
"resourceid":<String_value>,
"status":<Boolean_value>,
"learning_mode":<Integer_value>,
"user_name":<String_value>,
"value_type":<String_value>,
"id":<String_value>,
"lastpolltime":<Double_value>,
"min_value":<Integer_value>,
"failure_reason":<String_value>,
"count_value":<Integer_value>,
"value_expr":<String_value>,
"violation_location":<Integer_value>,
"violation_id":<Integer_value>,
"adm_learn_profile_name":<String_value>,
"si_device_ip_address":<String_value>,
"field_name":<String_value>,
"rpt_sample_time":<Double_value>}]}